projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f4e31a
)
(decode_mode_spec): Handle %&.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 30 Jul 1994 20:36:56 +0000
(20:36 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 30 Jul 1994 20:36:56 +0000
(20:36 +0000)
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 88f9e9c55cdcf01c27fe9abbe1820f0ac409ed09..edb2f7caacdfc124f3031382185976bfaec3a6f6 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-2968,6
+2968,12
@@
decode_mode_spec (w, c, maxwidth)
return "%";
return "-";
+ case '&':
+ /* This differs from %* in ignoring read-only-ness. */
+ if (MODIFF > current_buffer->save_modified)
+ return "*";
+ return "-";
+
case 's':
/* status of process */
obj = Fget_buffer_process (Fcurrent_buffer ());